import time

from tortoise import fields
from tortoise.models import Model   # 引入Model
from werkzeug.security import generate_password_hash, check_password_hash


# password = "a12057897"
#
# # password = generate_password_hash(password)
# print(password)
#
# f = check_password_hash(generate_password_hash(password), "a12057897")
# print(f)

# path = '\\\\192.168.1.100'+'\\Update\\upload'
# print(path)


# 年月目
now = time.localtime()
year,month,day,hour,minute,second = now.tm_year,now.tm_mon,now.tm_mday, \
                                    now.tm_hour,now.tm_min,now.tm_sec
print(year,month,day,hour,minute,second)
now = time.localtime()
year, month, day, hour, minute, second = now.tm_year, now.tm_mon, now.tm_mday, \
    now.tm_hour, now.tm_min, now.tm_sec
year = str(year)
month = str(month)
day = str(day)
path1 = '\\\\192.168.1.100\\化学\\Project case document\\' + year + '年照片' + '\\' + month + '月份' + '\\' + day + '号'
print(path1)